Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / core / database / src / main / kotlin / org / meshtastic / core / database / dao / DeviceHardwareDao.kt

Displaying Raw • Download

core/database/src/main/kotlin/org/meshtastic/core/database/dao/DeviceHardwareDao.kt 1c3784235e7e20ed88e054097d2e7addbff92dc3 (1c378423) Text, 1.28 KB

T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

Tff7b72package T7ee787org.meshtastic.core.database.dao

Tff7b72import T7ee787androidx.room.Dao
Tff7b72import T7ee787androidx.room.Insert
Tff7b72import T7ee787androidx.room.OnConflictStrategy
Tff7b72import T7ee787androidx.room.Query
Tff7b72import T7ee787org.meshtastic.core.database.entity.DeviceHardwareEntity

Tf0883e@Dao
Tff7b72interface T56d364DeviceHardwareDao Tb4b4b4{
Tf0883e@InsertTb4b4b4(Te6edf3onConflict Tff7b72= Te6edf3OnConflictStrategyTb4b4b4.Te6edf3REPLACETb4b4b4)
Tff7b72suspend Tff7b72fun Td2a8ffinsertTb4b4b4(Te6edf3deviceHardwareTb4b4b4: Te6edf3DeviceHardwareEntityTb4b4b4)

Tf0883e@QueryTb4b4b4(Ta5d6ff"Ta5d6ffSELECT * FROM device_hardware WHERE hwModel = :hwModelTa5d6ff"Tb4b4b4)
Tff7b72suspend Tff7b72fun Td2a8ffgetByHwModelTb4b4b4(Te6edf3hwModelTb4b4b4: Tffa657IntTb4b4b4)Tb4b4b4: Te6edf3DeviceHardwareEntity?

Tf0883e@QueryTb4b4b4(Ta5d6ff"Ta5d6ffDELETE FROM device_hardwareTa5d6ff"Tb4b4b4)
Tff7b72suspend Tff7b72fun Td2a8ffdeleteAllTb4b4b4(Tb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s